package com.easyban.entity;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class Product implements Serializable {
  /*  id     bigint(20) PRIMARY KEY,
    name   VARCHAR(255)   NOT NULL,
    detail VARCHAR(255)   NOT NULL,
    sub_id bigint(20)     NOT NULL,
    price  decimal(10, 2) NOT NULL,
    number bigint(10)     NOT NULL,
    photo  VARCHAR(255)   NOT NULL*/
    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String detail;
    private Long subId;
    private Double price;
    private Integer number;
    private String photo;
}
